<?php

namespace app\common\model;

use think\Model;

class CarMoneyLog extends Model
{
	protected $table='car_money_log';

	public function operator(){
		return $this->hasOne('User','id','operateid','ope','LEFT')
		            ->setEagerlyType(0)
		            ->bind([
				            'operator_name'=>'name'
		            ]);
	}
}